package com.gitee.huxing.mybatis.logging;

import org.apache.ibatis.logging.LogFactory;

/**
 * @Description: 日志工厂
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.mybatis.logging
 * @ClassName: LoggerFactory
 * @Author: huxing
 * @DateTime: 2021-09-16 下午2:01
 */
public class LoggerFactory {

    private LoggerFactory(){

    }

    public static Logger getLogger(Class<?> classz){
        return new Logger(LogFactory.getLog(classz));
    }

    public static Logger getLogger(String logger){
        return new Logger(LogFactory.getLog(logger));
    }
}
